package com.dc.project.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.own.component.common.base.entity.po.BasePo;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * Template
 *
 * @author chenxueli
 * @date 2025-03-19 10:40:23
 */
@Schema(title = "模板" + ConstantBeanSuffix.PO)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_template")
public class Template extends BasePo implements Serializable {

    /**
     * 模板标题
     */
    private String title;

    /**
     * 模板key
     */
    @TableField("`key`")
    private String key;

}
